package cn.com.git.workflow.dao;

import cn.com.git.workflow.dao.model.WorkFlowGroup;
import cn.com.git.workflow.service.query.WorkFlowGroupListQuery;

import java.util.List;

/**
  * WorkFlowGroupDAO接口
  * @author zhangzhenfu
  * @Description
  * @date 2020/4/15
*/
public interface WorkFlowGroupDAO {

    WorkFlowGroup selectById(Integer id);

    WorkFlowGroup selectOne(WorkFlowGroupListQuery query);

    int countLimit(WorkFlowGroupListQuery query);

    List<WorkFlowGroup> selectList(WorkFlowGroupListQuery query);

    Integer insertOne(WorkFlowGroup record);

    List<WorkFlowGroup> insertList(List<WorkFlowGroup> list);

    Integer updateOne(WorkFlowGroup record);

    Integer updateLimit(WorkFlowGroup record, WorkFlowGroupListQuery query);

    Integer deleteOne(Integer id);

    Integer deleteLimit(WorkFlowGroupListQuery query);
}